Skip to content

Conversation

jasonk000
Copy link
Contributor

Reordered writes in ClockSeqAndNodeContainer.get() to assign val before setting the volatile initialized flag.

The updated sequence ensures val is fully constructed and visible before publication via the volatile write.

Reordered writes in ClockSeqAndNodeContainer.get() to assign `val`
before setting the volatile `initialized` flag.

The updated sequence ensures `val` is fully constructed and visible
before publication via the volatile write.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant